package cn.iocoder.yudao.module.shop.admin.pojo.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.business.basic.pojo.vo.UserSimpleVO;
import cn.iocoder.yudao.module.api.infrastructure.user.dto.AdminUserRespDTO;
import cn.iocoder.yudao.module.api.shop.info.dto.ShopInfoDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "店铺商户 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ShopUserRespVO {

    @Schema(description = "唯一编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "32764")
    @ExcelProperty("唯一编号")
    private Integer id;

    @Schema(description = "店铺编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1468")
    @ExcelProperty("店铺编号")
    private Long shopId;

    @Schema(description = "店铺信息")
    private ShopInfoDTO shop;

    @Schema(description = "前台用户编号", example = "21739")
    @ExcelProperty("前台用户编号")
    private Long memberUserId;

    private UserSimpleVO memberUser;

    @Schema(description = "后台台用户编号", example = "21739")
    private Long adminUserId;

    private AdminUserRespDTO adminUser;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
